package com.health.memberbackstage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.health.memberbackstage.pojo.Setmeal;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface SetmealMapper extends BaseMapper<Setmeal> {

    @Select("select * from setmeal where sex = #{sex} or sex = 0")
    List<Setmeal> selectBySex(Integer sex);
}
